﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="UserLogonReport.aspx.cs" Inherits="TsWeb.Reports.UserLogonReport" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../Styles/datepicker.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.9.1.js" type="text/javascript"></script>
    <script type="text/javascript">

        $(function () {

            $('#dp3').datepicker();
            $('#toDate').datepicker();


       });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="LeftContent" runat="server">
    <div>
        <ul>
            <div class="accordion" id="accordion2">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <li class="nav-header" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
                            Ver logs</li>
                    </div>
                    <div id="collapseOne" class="collapse in">
                        <div class="accordion-inner">
                            <h6>
                                Desde:</h6>
                            <div class="input-append date" id="dp3" data-date="12-04-2013" data-date-format="dd/mm/yyyy">
                                <asp:TextBox ID="fromDateText" runat="server" CssClass="inline"></asp:TextBox>
                                <span class="add-on"><i class="icon-calendar"></i></span>
                            </div>
                            <h6>
                                Hasta:</h6>
                            <div class="input-append date" id="toDate" data-date="12-04-2013" data-date-format="dd/mm/yyyy">
                                <asp:TextBox ID="toDateText" runat="server" CssClass="inline"></asp:TextBox>
                                <span class="add-on"><i class="icon-calendar"></i></span>
                            </div>
                            <asp:Button ID="ButtonSearchLogs" runat="server" Text="Buscar" OnClick="ButtonSearchLogs_Click"
                                CssClass="btn-success right" />
                        </div>
                    </div>
        </ul>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/Scripts/jquery-1.9.1.js" />
            <asp:ScriptReference Path="~/Scripts/bootstrap.min.js" />
              <asp:ScriptReference Path="~/Scripts/bootstrap-datepicker.js" />
        </Scripts>
    </asp:ScriptManager>
   
   <asp:Label runat="server" ID="msgLabel" CssClass="info"></asp:Label>

   <asp:GridView ID="GridViewLogs" runat="server" AutoGenerateColumns="false"    CssClass="table table-hover table-striped" GridLines="None" >
                 <Columns>
                    <asp:BoundField DataField="Date" HeaderText="Fecha" />
                    <asp:BoundField DataField="Logger" HeaderText="Usuario" />
                    <asp:BoundField DataField="Message" HeaderText="Acción" />
                 </Columns>
            </asp:GridView>


</asp:Content>
